package com.yingdong.excel;

import java.util.List;
import java.util.Map;
/**
 * ${classcomment}
 */
public class ${classname?cap_first} {
    public static List<${classname?cap_first}> data;
    public static Map<Integer,${classname?cap_first}> dataMap;
 <#list fields as field>  
   /**
	 * ${field.comment}
	 */
    private ${field.type} ${field.name};
 </#list>  
 
<#list fields as field>  

    public ${field.type} get${field.name?cap_first}() {
	    return ${field.name};
	}
	
	public void set${field.name?cap_first}(${field.type} ${field.name}) {
		this.${field.name} = ${field.name};
	}
 </#list>
    public static ${classname?cap_first} get${classname?cap_first}ById(int id){
        return dataMap.get(id);
    }
	
}